import { request } from '../utils/request.js'
import store from '../store'
import { Toast } from '../utils/tools.js'

export async function Edit(params) {
	try {
		return request({
			url: '/Heads/Edit',
			method: "post",
			mask: false,
			params
		})
	} catch (e) {
		console.log(e)
		return {}
	}
}
export async function Info(params) {
	try {
		return request({
			url: '/Heads/Info',
			method: "post",
			mask: false,
			params
		})
	} catch (e) {
		console.log(e)
		return {}
	}
}